from Week.Page.page import Page
import unittest
from selenium import webdriver
from Week.Tloos.Tloos import Tloos
import logging
import time
from selenium.webdriver.support.ui import WebDriverWait
class Case(unittest.TestCase):
    def setUp(self) -> None:
        self.driver = webdriver.Chrome()
        self.driver.maximize_window()
        print("初始化")

    def tearDown(self) -> None:
        time.sleep(3)
        self.driver.quit()

    def test_login_001(self):
        po = Page(self.driver)
        po.login_test("xiaoa", "123456")
        Tloos().Beau()
        Tloos().Mais([r'D:\pythonProject\pythonProject\Gwllen\Week\Run\测试报告.html'])
# if __name__ == '__main__':
#     unittest.main()